<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 300px;
            height: 210px;
            margin: 100px auto;
            background-color: pink;
        }
        .box img{
            width: 100%;
            height: 100%;
            transition: all 1s;
        }
        .box:hover img{
            /* 修改宽高尺寸，从左上角开始 */
            /* width: 500px;
            height: 400px; */
            /* 缩放 */
            transform: scale(1.5);
            /* 反转 */
            /* transform: scale(-1); */

            /* 缩放，右下角缩放 */
            transform-origin: right bottom;


        }


    </style>
</head>
<body>
    <div class="box">
        <img src="./images/product.jpeg" alt="">
    </div>
</body>
</html>